﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace Kunlun.ViewModels
{
    [Serializable]
    public class UserCartViewModels
    {
        /// <summary>
        /// 客户购物车显示ID
        /// </summary>
        [XmlElement("id")]
        public int ID { get; set; }

        /// <summary>
        /// 作品编号
        /// </summary>
        [XmlElement("work_id")]
        public int WorkID { get; set; }

        /// <summary>
        /// 缩略图
        /// </summary>
        [XmlElement("thumnail")]
        public string Thumnail { get; set; }

        /// <summary>
        /// 产品Id
        /// </summary>
        [XmlElement("p_id")]
        public string PID { get; set; }

        /// <summary>
        /// 产品名称
        /// </summary>
        [XmlElement("product")]
        public string Product { get; set; }

        /// <summary>
        /// 规格
        /// </summary>
        [XmlElement("attribute")]
        public int Attributes { get; set; }

        /// <summary>
        /// 属性
        /// </summary>
        [XmlElement("propertys")]
        public string Propertys { get; set; }

        /// <summary>
        /// 单价
        /// </summary>
        [XmlElement("prices")]
        public decimal Prices { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        [XmlElement("numbers")]
        public int Numbers { get; set; }

        /// <summary>
        /// 购买类型（1，无框画，2海报，3框画）
        /// </summary>
        [XmlElement("types")]
        public int Types { get; set; }

        [XmlElement("index")]
        public int Index { get; set; }

        /// <summary>
        /// 卡纸层数
        /// </summary>
        [XmlElement("level")]
        public int Level { get; set; }

        /// <summary>
        /// 卡纸尺寸
        /// </summary>
        [XmlElement("size")]
        public int Size { get; set; }

    }
}
